package com.xiansiblog.dao;

import com.xiansiblog.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
*@Description: 用户持久层接口
*@Author: 弦思
*@Date 2021/2/2
*/
@Mapper
@Repository
public interface UserDao {
    User findByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
